package com.example.startapp.entity;

public class ImportRecord {
    private Integer importId; //货物ID
    private Integer importQuantity; //进货数量
    private Double importPrice;    //货物价钱
    private String importCommodityName; //货物名称
    private String importCommodityStatus; //货物状态
    private Shop shop; //店铺

    // Constructors
    public ImportRecord() {
        // 默认构造函数
    }

    public ImportRecord(Integer importId, Integer importQuantity, Double importPrice,
                        String importCommodityName, String importCommodityStatus, Shop shop) {
        this.importId = importId;
        this.importQuantity = importQuantity;
        this.importPrice = importPrice;
        this.importCommodityName = importCommodityName;
        this.importCommodityStatus = importCommodityStatus;
        this.shop = shop;
    }

    // Getters and Setters
    public Integer getImportId() {
        return importId;
    }

    public void setImportId(Integer importId) {
        this.importId = importId;
    }

    public Integer getImportQuantity() {
        return importQuantity;
    }

    public void setImportQuantity(Integer importQuantity) {
        this.importQuantity = importQuantity;
    }

    public Double getImportPrice() {
        return importPrice;
    }

    public void setImportPrice(Double importPrice) {
        this.importPrice = importPrice;
    }

    public String getImportCommodityName() {
        return importCommodityName;
    }

    public void setImportCommodityName(String importCommodityName) {
        this.importCommodityName = importCommodityName;
    }

    public String getImportCommodityStatus() {
        return importCommodityStatus;
    }

    public void setImportCommodityStatus(String importCommodityStatus) {
        this.importCommodityStatus = importCommodityStatus;
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }
}
